<div class="respotbs twoColTab">
    <ul class="resp-tabs-list">
        <li class="resp-tab-item resp-tab-active" aria-controls="tab_item-0" role="tab"><?= Config::get('Contact::config.title');?></li>
    </ul>
    <div class="resp-tabs-container">

        <div class="resp-tab-content resp-tab-content-active" aria-labelledby="tab_item-0">
            <div class="row">
                <div class="col-md-6">

                  <?=
                        (Session::get('message') ? Session::get('message') : '');
                        ?>
                    <form method="post" action="<?= URL::current(); ?>" accept-charset="<?= Settings::get('en', 'charecter_set'); ?>">

                        <div class="row1">
                            <h2> <?= Config::get('Contact::config.title');?> </h2>
                            <div class="mute">
                                <span class="thin"><?= Config::get('Contact::config.tagline');?></span>
                            </div>
                        </div>

                        <div class="row1">
                            <label>Your Name <span class="text text-danger">*</span> <span class="text text-danger"> <?php echo $errors->first('contact_name') ?></span>
                            </label> <input type="text" placeholder="Type something…" class="field" name="contact_name" id="contact_name" value="<?= Input::old('contact_name');?>">
                        </div>

                        <div class="row1">
                            <label>Purpose <span class="text text-danger">*</span> <span class="text text-danger"> <?php echo $errors->first('purpose') ?></span>
                            </label>
                            <select class="field" name="purpose" id="purpose">
                                <?php foreach($purpose as $purpose):?>
                                    <option value="<?= $purpose['id'];?>"><?= $purpose['name'];?></option>
                                <?php endforeach;?>
                            </select>
                        </div>

                        <div class="row1">
                            <label>Email <span class="text text-danger">*</span> <span class="text text-danger"> <?php echo $errors->first('contact_email') ?></span>
                            </label> <input type="text" placeholder="Type something…" class="field" name="contact_email" id="contact_email" value="<?= Input::old('contact_email');?>">
                        </div>


                        <div class="row1">
                            <label>Contact No <span class="text text-danger">*</span> <span class="text text-danger"> <?php echo $errors->first('conatct_no') ?></span>
                            </label> <input type="text" placeholder="Type something…" class="field" name="conatct_no" id="contact_on" value="<?= Input::old('conatct_no');?>">
                        </div>

                        <div class="row1">
                            <label>Description <span class="text text-danger">*</span>  <span class="text text-danger"> <?php echo $errors->first('contact_description') ?></span>
                            </label>
                             <div class="mute">
                            <span class="text text-warning">(Minimum 25 character)</span>
                            </div>
                            <textarea class="field form-control" rows="6" name="contact_description" id="contact_description"><?= Input::old('contact_description');?></textarea>
                        </div>

                        <div class="row1">
                            <input type="submit" value="Send" class="btn btn-info">
                        </div>



                    </form>
                </div>

                <div class="col-md-offset-1 col-md-5">
                    <div class="row1">
                        <h2 class="text-dark-orange">Our Office  </h2>
                    </div>

                    <div class="row1">
                        <p><h3> <?= Settings::get('en','office_company');?>  </h3></p>
                    </div>

                    <div class="row1">

                        <p class="thin"><?= Settings::get('en','office_address');?> </p>
                        <p class="thin"><i class="fa fa-mobile"></i> <?= Settings::get('en','office_contact_1');?> </p>
                        <p class="thin"><i class="fa fa-phone"></i> <?= Settings::get('en','office_contact_2');?> </p>
                        <p class="thin"><i class="fa fa-envelope"></i> <?= Settings::get('en','office_email');?> </p>
                    </div>



                </div>
            </div>
        </div>

    </div>


</div>